import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class wxLoginDto {
  @IsNotEmpty({ message: 'code不能为空' })
  @ApiProperty({ type: String, description: 'code' })
  code: string;
  @ApiProperty({ type: String, description: 'iv' })
  iv: string;
  @ApiProperty({ type: String, description: 'encryptedData' })
  encryptedData: string;
}
